package com.demo.service;

import com.demo.dao.OrderDao;
import com.demo.domain.FctOtsorder;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * Created by duanxifeng on 2017/5/25.
 */

@Service
public class OrderService implements IOrderService {

    @Autowired
    private OrderDao orderDao;

    @Override
    public FctOtsorder getFctOtsOrderById(String orderId) {
        return orderDao.getFctOtsOrderById(orderId);
    }


    public FctOtsorder selectByPrimaryKey(Long serialNumber){
        FctOtsorder fctOtsorder=orderDao.selectByPrimaryKey (serialNumber);
        return  fctOtsorder;
    }


}
